package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "包模板类型表")
@TableName("base_pack_type")
public class PackType extends DataEntity {

    @EntityFieldAnnotation(
            text = "指定供应商 0：不指定  1：必须指定",
            length = "",
            not_null = true,
            default_value = "0",
            comment = ""
    )
    private Integer flagDesignateSp;

    @EntityFieldAnnotation(
            text = "指定科室 0：不指定 1：必须指定",
            length = "",
            not_null = true,
            default_value = "0",
            comment = ""
    )
    private Integer flagDesignateDept;

    @EntityFieldAnnotation(
            text = "类型名称",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String name;

    @EntityFieldAnnotation(
            text = "模板类型",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String type;

    @EntityFieldAnnotation(
            text = "备注",
            length = "255",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String remark;

    @EntityFieldAnnotation(
            text = "序号",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Integer packOrder;

    @EntityFieldAnnotation(
            text = "状态 1：禁用 0：有效",
            length = "",
            not_null = true,
            default_value = "0",
            comment = ""
    )
    private Integer flagDisable;

}
